# Prerequisites

The following section describes the client prerequisites when replicating to a Google Cloud BigQuery target.

## Permissions

This section describes the Google Cloud BigQuery Service Account permissions required by Replicate.

When you create a service account key, a JSON file containing the connection information will be downloaded to your computer. You will need to copy the contents of this file to the Service account key field in the Google Cloud BigQuery endpoint.

For additional information about dataset creation, see [Setting advanced connection properties](https://help.qlik.com/en-US/replicate/November2026/Content/Replicate/Main/Google%20Cloud%20BigQuery/bigquery_advanced_prop_postgresql_db_target.htm).

### Permissions required to create the target dataset automatically

If you want the dataset to be created automatically by Replicate, the following permissions are required:

BigQuery &gt; BigQuery Job User

BigQuery &gt; BigQuery Data Editor

### Permissions required when target dataset already exist

If the dataset already exists, you need to perform the following steps:

1. Create a service account with the following permission:

   BigQuery &gt; BigQuery Job User

2. Navigate to the dataset that you want Replicate to use, and then:

   1. Add the service account you just created as a principal.

   2. Assign the role: BigQuery Data Editor.

## Drivers

### Qlik Replicate on Windows

Download the [Simba ODBC driver version 3.3.1.3003](https://storage.googleapis.com/simba-bq-release/odbc/SimbaODBCDriverforGoogleBigQuery64_3.3.1.3003.msi) and install it on the Replicate Server machine.

### Qlik Replicate on Linux

To use Google Cloud BigQuery as a target endpoint in a Replicate task on Linux, perform the following procedure:

1. Download the [Simba ODBC driver version 3.3.1.3003](https://storage.googleapis.com/simba-bq-release/odbc/SimbaODBCDriverforGoogleBigQuery_3.3.1.3003-Linux.tar.gz) to the Replicate Server machine.

2. Extract `SimbaODBCDriverforGoogleBigQuery64_3.3.1.3003.tar.gz` to /opt/SimbaODBCDriverforGoogleBigQuery\_3.3.1.3003-Linux.

3. Move GoogleBigQueryODBC.did and simba.googlebigqueryodbc.ini from the `setup` directory to the `lib` directory under the Simba ODBC driver directory.

   Example: Move the files from

   `/opt/SimbaODBCDriverforGoogleBigQuery_3.3.1.3003-Linux/setup`

   to

   `/opt/SimbaODBCDriverforGoogleBigQuery_3.3.1.3003-Linux/SimbaODBCDriverforGoogleBigQuery64_3.3.1.3003/lib`.

4. Stop the Replicate service. If needed, confirm that it has stopped as described in [Replicate server procedures](https://help.qlik.com/en-US/replicate/November2026/Content/Replicate/Main/Installation/Server_Procedures.htm).

5. Edit simba.googlebigqueryodbc.ini as follows:

   1. Change `ErrorMessagesPath` to the path of the XML file containing the ODBC messages. The default location is:

      `ErrorMessagesPath=/opt/SimbaODBCDriverforGoogleBigQuery_3.3.1.3003-Linux/SimbaODBCDriverforGoogleBigQuery64_3.3.1.3003/ErrorMessages`

   2. Change `DriverManagerEncoding` to `UTF-16`.

6. Add the following path to site\_arep\_login.sh in the Replicate bin directory:

   `export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/opt/SimbaODBCDriverforGoogleBigQuery_3.3.1.3003-Linux/SimbaODBCDriverforGoogleBigQuery64_3.3.1.3003/lib`

7. Edit /etc/odbcinst.ini and add the driver path:

   `[ODBC Drivers]`

   `Simba= Installed`

   `Simba ODBC Driver for Google BigQuery = Installed`

   `[Simba ODBC Driver for Google BigQuery]`

   `Description=Simba ODBC Driver for Google BigQuery(64-bit)`

   `Driver=/opt/SimbaODBCDriverforGoogleBigQuery_3.3.1.3003-Linux/SimbaODBCDriverforGoogleBigQuery64_3.3.1.3003/lib/libgooglebigqueryodbc_sb64.so`

8. Start the Replicate service. If needed, confirm that it has started as described in [Replicate server procedures](https://help.qlik.com/en-US/replicate/November2026/Content/Replicate/Main/Installation/Server_Procedures.htm).